<?php
interface IControl
{
	//protected $id;
	//protected $templatePath;
	//protected $data;
	
	public function setId($id); //控件id
	public function getId();
	
	public function setTemplatePath($templatePath); //控件模板路径
	public function getTemplatePath();
	
	public function setData($data); //展示数据
	public function getData();
	
	public function render($isReturn = false); //输出内容
}
?>